package com.ruoyi.teaching.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课件管理对象 teaching_course_ware
 *
 * @author William
 * @date 2022-10-12
 */
public class TeachingCourseWare extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long wareId;

    /** 文件夹ID */
    private Long folderId;

    /** 文件夹名 */
    private String folderName;

    /** 课程ID */
    private Long courseId;

    /** 课程名称 */
    private String courseName;

    /** 课件名称 */
    @Excel(name = "课件名称")
    private String wareName;

    /** 缩略图 */
    @Excel(name = "缩略图")
    private String thumb;

    /** 文件ID */
    private Long fileId;

    /** 文件地址 */
    @Excel(name = "文件地址")
    private String filePath;

    /** 上传日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上传日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;

    /** 状态（0正常 1停用） */
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 创建人ID */
    private Long createId;

    /** 是否为课件 0否1是 课件在非上课时无法操作 */
    private String isWare;

    public String getIsWare() {
        return isWare;
    }

    public void setIsWare(String isWare) {
        this.isWare = isWare;
    }

    public void setWareId(Long wareId)
    {
        this.wareId = wareId;
    }

    public Long getWareId()
    {
        return wareId;
    }
    public void setFolderId(Long folderId)
    {
        this.folderId = folderId;
    }

    public Long getFolderId()
    {
        return folderId;
    }
    public void setFolderName(String folderName)
    {
        this.folderName = folderName;
    }

    public String getFolderName()
    {
        return folderName;
    }
    public void setCourseId(Long courseId)
    {
        this.courseId = courseId;
    }

    public Long getCourseId()
    {
        return courseId;
    }
    public void setCourseName(String courseName)
    {
        this.courseName = courseName;
    }

    public String getCourseName()
    {
        return courseName;
    }
    public void setWareName(String wareName)
    {
        this.wareName = wareName;
    }

    public String getWareName()
    {
        return wareName;
    }
    public void setThumb(String thumb)
    {
        this.thumb = thumb;
    }

    public String getThumb()
    {
        return thumb;
    }
    public void setFileId(Long fileId)
    {
        this.fileId = fileId;
    }

    public Long getFileId()
    {
        return fileId;
    }
    public void setFilePath(String filePath)
    {
        this.filePath = filePath;
    }

    public String getFilePath()
    {
        return filePath;
    }
    public void setUploadTime(Date uploadTime)
    {
        this.uploadTime = uploadTime;
    }

    public Date getUploadTime()
    {
        return uploadTime;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setCreateId(Long createId)
    {
        this.createId = createId;
    }

    public Long getCreateId()
    {
        return createId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("wareId", getWareId())
            .append("folderId", getFolderId())
            .append("folderName", getFolderName())
            .append("courseId", getCourseId())
            .append("courseName", getCourseName())
            .append("wareName", getWareName())
            .append("thumb", getThumb())
            .append("fileId", getFileId())
            .append("filePath", getFilePath())
            .append("uploadTime", getUploadTime())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createId", getCreateId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
